package cn.niit.smbms.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "cn.niit.company")
@PropertySource(value = "classpath:custom.properties", encoding = "UTF-8")
public class Company {
    private String code;
    private String address;
    private String course;
}
